<!DOCTYPE html>
<html>
  <head>
    <!-- 1.引入 domTpl.js -->
    <script src="../domTpl.js"></script>
  </head>
  <body>
    
    <!-- 2.模板 -->
    hello {{name}} !

    <!-- 3.渲染 -->
    <script>
      domTpl({
        name:'world'
      });
    </script>
  </body>
</html>
